package com.ctgu.fastleader.dao;

import com.ctgu.fastleader.vo.Supplier;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SupplierMapper {
    int deleteByPrimaryKey(Integer supid);

    int insert(Supplier record);

    int insertSelective(Supplier record);

    Supplier selectByPrimaryKey(Integer supid);

    int updateByPrimaryKeySelective(Supplier record);

    int updateByPrimaryKey(Supplier record);

    List<Supplier> findAllSupplier();

    List<Supplier> searchSupplierByKey(Integer supid,String supname,String supphone);
}